package com.enzo.pcms.login.model;

import com.enzo.pcms.base.model.BaseModel;

public class User extends BaseModel {
    // 必须要有这个无参构造方法，不然根据user.xml中的配置，在查询数据库时，将不能反射构造出User实例
    public User() {
        super();
    }
    private Integer id;
    private String username;
    private String password;
    private String email;
    private String activateCode;//注册验证码
    private Integer activateFlag;//验证状态: 0-未验证 1-已验证

    public Integer getId() {
        return id;
    }
    public void setId(Integer id) {
        this.id = id;
    }
    public String getUsername() {
        return username;
    }
    public void setUsername(String username) {
        this.username = username;
    }
    public String getPassword() {
        return password;
    }
    public void setPassword(String password) {
        this.password = password;
    }
    public String getEmail() {
        return email;
    }
    public void setEmail(String email) {
        this.email = email;
    }
    public String getActivateCode() {
        return activateCode;
    }
    public void setActivateCode(String activateCode) {
        this.activateCode = activateCode;
    }
    public Integer getActivateFlag() {
        return activateFlag;
    }
    public void setActivateFlag(Integer activateFlag) {
        this.activateFlag = activateFlag;
    }


}
